import Vue from 'vue'
import App from './App'
import router from './router'
import './elementUI/index'
import './assets/iconfont/font.css'
// import axios from './axios/httpRequest'
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)
Vue.config.productionTip = false


router.beforeEach((to,from,next)=>{
  if(to.path == '/'){
    next('/systemHomePage');
  }else{
    next();
  }
})

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
